<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>类别管理</title>
<load href="__PUBLIC__/Css/admin_style.css"/>

<style type="text/css">

table td{
	border-bottom:1px solid #C2E7DB;
	border-right:1px solid #C2E7DB;
	background-color:#E8F7EE
}
table th{ 
  background-color: #099;
  color:#FFF;
}
body{ 
  background-color:#F3FAF8
}
table,body,td{
  font-size:15px;	
}

</style>
</head>

<body style="margin-left:10px; margin-top:10px;"><a href="__URL__/index/col_id/{$col_id}">类别管理</a>&nbsp;|&nbsp;<a href="__URL__/add/parid/{$parid}/col_id/{$col_id}">添加类别</a>
 <if condition="empty($sysclasss) eq true">对不起，现在还没有类别!请<a href="__URL__/add/parid/{$parid}/col_id/{$col_id}">添加</a><else/><b>点击父类添加子类</b>
<table width="400" border="0" cellpadding="5" cellspacing="1" style="border:#099 3px solid; text-align:center; margin-top:5px;">
  <tr>
    <th>类别名称</th>
    <th>是否显示</th>
    <th>顺序</th>
    <th>操作</th>
  </tr>
  <volist name="sysclasss" id="vo">
  <tr>
    <td><a href="__URL__/index/parid/{$vo.id}/col_id/{$col_id}">{$vo.class_name}</a></td>
    <td><eq name="vo.is_show" value="是"><a href="__URL__/set_hide/id/{$vo.id}/col_id/{$col_id}">是</a><else/><a href="__URL__/set_show/id/{$vo.id}/col_id/{$col_id}">否</a></eq></td>
    <td><if condition="$vo.sequence lt $maxseq"><a href="__URL__/up/id/{$vo.id}/col_id/{$col_id}" title="向上">↑</a></if>&nbsp;&nbsp;&nbsp;&nbsp;<if condition="$vo.sequence gt $minseq"><a href="__URL__/down/id/{$vo.id}/col_id/{$col_id}" title="向下">↓</a></if></td>
    <td><a href="__URL__/edit/id/{$vo.id}/col_id/{$col_id}/parid/{$parid}">修改</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="__URL__/del/id/{$vo.id}/col_id/{$col_id}/parid/{$parid}" onclick="if(!confirm('同时会删除子类别,你确认要删除吗？')){return false;}">删除</a></td>
  </tr>
  </volist>
</table>
</if>
</body>
</html>
